package com.ctrip.study.algorithm.leetcode;

import java.util.List;

import com.google.common.collect.Lists;

public class ListDemo {
	
	public static void main(String[] args) {
		String ids = "1,2,3,4,5,6";
		List<String> idList = Lists.newArrayList(ids.split(","));
		for (Object obj : idList) {
			Long id = Long.valueOf((String) obj);
			System.out.println(id);
		}
	}

}
